----------------------------------------
-- 队列库
----------------------------------------
local M = {}

M.__index = M
	
function M.createSequence()
	local tSequence = {
		data = {},
	}

	setmetatable(tSequence, M)

	return tSequence
end

function M:add(element)
	table.insert(self.data, 1, element)
end

function M:remove(index)
	table.remove(self.data, index)
end

function M:getData()
	return self.data
end

return M